//
//  GatewayPermitView.h
//  YSSmartHome
//
//  Created by yanghao on 2017/4/11.
//  Copyright © 2017年 yahaong. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ZTGatewayBindModel.h"
@class GatewayPermitView;
typedef NS_ENUM(uint8_t,GatewayPermitType)
{
    GatewayPermitTypeWatch,
    GatewayPermitTypeControl,
    GatewayPermitTypeReject
};
@protocol  GatewayPermitViewDelegate<NSObject>

- (void)gatewayPermitWatch:(GatewayPermitView* __nonnull)gatewayPermitView type:(GatewayPermitType)type;

@end
@interface GatewayPermitView : UIView
@property (nullable, nonatomic, strong) ZTGatewayBindModel* model;
@property (nullable,nonatomic, weak) id <GatewayPermitViewDelegate> delegate;
@property (weak, nonatomic) IBOutlet UILabel * _Nullable titleLable;
+ (instancetype __nonnull)gatewayPermitView;
@end
